package com.service.admin.order.controller.rep;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.math.BigDecimal;
import java.util.Date;

@Setter
@Getter
@ToString
public class OrderProductExcelRep {

    @Excel(name = "序号")
    private Integer id;
    /**
     * 订单号
     */
    @Excel(name = "订单号")
    private String orderNo;

    /**
     * 产品名称
     */
    @Excel(name = "产品名称")
    private String productName;
    /**
     * 购买者id
     */
    @Excel(name = "用户id")
    private Integer memberId;
    /**
     * 会员账号
     */
    @Excel(name = "用户账号")
    private String memberAccount;
    /**
     * 购买总价
     */
    @Excel(name = "购买总价")
    private BigDecimal orderMoney;
    /**
     * 实际支付金额
     */

    @Excel(name = "付款金额")
    private BigDecimal payMoney;
    /**
     * 订单状态 0未支付 1已支付 2已发货  3交易完成(已收货) 4现金待付款，5现金已付款
     */
    @Excel(name = "订单状态")
    private Integer orderStatus;
    /**
     * 收货人
     */
    @Excel(name = "收货人")
    private String consigneeName;
    /**
     * 收货人手机号码
     */

    @Excel(name = "收货手机")
    private String consigneeMobile;
    /**
     * 收货地址
     */
    @Excel(name = "收货地址")
    private String consigneeAddress;
    /**
     * 赠送总积分
     */
    @Excel(name = "赠送积分")
    private Integer giftPoints;

    @Excel(name = "订单类型")
    private Integer orderType;

    /**
     * 付款时间
     */
    @Excel(name = "付款时间",exportFormat = "yyyy-MM-dd HH:mm:ss")
    private Date payTime;
    /**
     * 支付方式(1:usdt全付，2:usdt+usdf)
     */
    @Excel(name = "支付方式")
    private String payTypeGroup;
    /**
     * 快递公司名称
     */
    @Excel(name = "快递公司")
    private String expressName;
    /**
     * 快递编号
     */
    @Excel(name = "快递编号")
    private String expressNo;
    /**
     * 下单时间
     */
    @Excel(name = "创建时间",exportFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;


    /**
     * 单价
     */
    @Excel(name = "单价")
    private BigDecimal productPrice;

    /**
     * 购买数量
     */
    @Excel(name = "数量")
    private Integer orderNum;

    @Excel(name = "重量")
    private BigDecimal freight;
}
